package com.stone.design.practice;

import android.graphics.Typeface;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

public class TestActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test2);

        TextView textView = findViewById(R.id.tv_text);
        Typeface typeface = Typeface.createFromAsset(getAssets(), "iconfont.ttf");
        textView.setTypeface(typeface);
        textView.setText("\ue6a8");
    }
}
